package com.wjq.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Questionnaire {

    @Id
    private Integer id;

    private Integer publishId;//发布用户id

    private Integer fillId;//填写用户id

    private String name;//问卷名称

    private String createTime;//创建时间

    private String modifyTime;//修改时间

    private Integer publishState;//0未发布，1已发布

    private Integer fillState;//0停止填写，1进行中

    private Integer isDelete;//0未删除,1已删除

    private List<Question> questions;

    private Integer finishCount;

}
